import Vue from 'vue'
import App from './App.vue'

// 导入全局组件
import CommonButton from './components/CommonButton.vue'

import router from './router'
import store from './store'
import './plugins/vant.js'

Vue.config.productionTip = false
// 注册全局组件
Vue.component('CommonButton', CommonButton)
new Vue({
  router,
  store,

  // 创建元素结构
  render: h => h(App)
})
// el: '#app'
.$mount('#app')
